package com.ruoyi.cms.blog.mapper;

import com.ruoyi.cms.blog.domain.CmsCity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CmsCityMapper {
    List<CmsCity> select(CmsCity city);
    List<CmsCity> select3();
    int insert(CmsCity city);
    int update(CmsCity city);
    int delete(@Param("id") Long id);

    CmsCity getOne(CmsCity city);
    List<CmsCity> getOne2(CmsCity city);

    int selectChild(@Param("id") Long id);
}
